<?
#///////////////////////////////////////////////////////
#// COPYRIGHT 2007 Phpauction.net ALL RIGHTS RESERVED //
#///////////////////////////////////////////////////////
?>
<script type="text/javascript" language="JavaScript">
<!--
function submitlogin ()
{
	document.user_login.submit ();
}
//-->
</script>
 <?
         $tabid = 5; // Change This Number To Correspond To The Tab You Want Activated
  include "tab_menu.php"; // To Change The Tabs - Modify This File
  $subtabid = "about us"; // Change This Variable To Correspond To Tab Sub Menu You Want To Display
  include "tab_submenu.php"; //To Change The Sub Menu - Modify This File
  include "category_menu.php"; //To Change The Category Menu - Modify This File
  $page_title_text = "Auction Setup / Editor / Manager"; //Change This Text To The Text That You Want To Show In The Page Title Bar
  $page_title_note = "<BR><BR>"; //Change This Text To Display A Note In The Page Title Bar Area
  include "page_title.php"; //To Change The Page Title Look - Modify This File
  ?>            
      
     <? print $tab_menu ?>  <!-- This displays the Tab Menu - Delete It, If You Do Not Want It Show On The Screen  -->
     <? print $tab_submenu ?>  <!-- This displays the Tab Sub Menu - Delete It, If You Do Not Want It Show On The Screen    -->
     <? print $category_menu ?>  <!--  This displays the Category  Menu - Delete It, If You Do Not Want It Show On The Screen  -->
     <? print $page_title_content_box_start; ?>  <!-- This displays the Title Bar And Content Border - Delete It, If You Do Not Want It Show On The Screen  -->
                                                 <!-- You will also need to delete the "$page_title_content_box_stop" below  -->
        

<div class="content">
  <div class="tableContent2">
	<div class="titTable2">
  		<?=$MSG_205?>
	</div>
	
  <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<TR>
	<TD>
        <dl class="phpa-tabs">
            <dd>
            	<?if ($_SESSION['cptab']!='account') {?>
                <a href="<?=$SETTINGS['siteurl']?>user_menu.php?cptab=account"><?=$MSG_25_0081?></a>
                <?} else {?>
                <a href="<?=$SETTINGS['siteurl']?>user_menu.php?cptab=account"><?=$MSG_25_0081?></a>
                <?}?>
            </dd>  
			<?
			if(($SETTINGS['uniqueseller']>0 && $_SESSION["PHPAUCTION_LOGGED_IN"]==$SETTINGS['uniqueseller']) || $SETTINGS['uniqueseller']==0){
			?>
            <dd>
            	<?if ($_SESSION['cptab']!='selling') {?>
                <a href="<?=$SETTINGS['siteurl']?>user_menu.php?cptab=selling"><?=$MSG_25_0082?></a>
                <?} else {?>
                <a href="<?=$SETTINGS['siteurl']?>user_menu.php?cptab=selling"><?=$MSG_25_0082?></a>
                <?}?>
            </dd>    
			<?
				}
			?>
            <dd>
            	<?//if ($_SESSION['cptab']!='buying') {?>
			<!--	<a href="<?=$SETTINGS['siteurl']?>user_menu.php?cptab=buying"><?=$MSG_25_0083?></a>    -->
                <?//} else {?>
			<!--	<a href="<?=$SETTINGS['siteurl']?>user_menu.php?cptab=buying"><?=$MSG_25_0083?></a> -->
                <?//}?>
		    </dd> 
<?
		if (is_file("$include_path/../modules/stores/store.php")) {
   			if($STORESENABLED == 'y') {
   		?>
			<dd>
           	<?if ($_SESSION['cptab']!='stores') {?>
		    	<a href="<?=$SETTINGS['siteurl']?>user_menu.php?cptab=stores"><?=$MSG_25_0064?></a>
                <?} else {?>
		    	<a href="<?=$SETTINGS['siteurl']?>user_menu.php?cptab=stores"><?=$MSG_25_0064?></a>
                <?}?>
			</dd>    
    	<?
    		}
		}
?>			   
        </dl>
    
    </TD>
    </TR>
    <TR>
    <TD>
	<div class="tableContent2">
		<div class="titTable4">
			<? print $MSG_247."<B>".$_SESSION['PHPAUCTION_LOGGED_IN_USERNAME']."</B>"; ?> [<a href="<?=$SETTINGS['siteurl']?>logout.php"><? print $MSG_245; ?></a>]
			<?if ($_SESSION['cptab']=='stores' && $PHPAUCTION_HAS_STORE) {?>
			<a name="store"></a><?=$_STORES_0061?><b><?=stripslashes($STORENAME)?></b>
			<?}?>
		</div>
		<? if(!empty($TMP_usmenutitle)) {?>
		<div class="titTable4">
			<?=$TMP_usmenutitle?>
		</div>
		<?}?>
		<div class="table2">
  		<?
  		if(!empty($ERR) || !empty($TPL_errmsg)) {
  		?>
  			<p class=errfont style="background-color;#FF9933;display:block" >
    		<?
			print $ERR.$TPL_errmsg;
			?>
  			</p>
  		<?}?>
		</div>
	</TD>
	</TR>
	</TABLE>
                  
 